package com.snoob;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
/** 让注册中心能够发现，扫描到该服务 */
@EnableDiscoveryClient
/** 开启Feign Client */
@EnableFeignClients(basePackages = {"com.snoob.baseFeign.service"})
/** 开启jetcache中@cache注解，为一个方法添加上缓存 */
//@EnableMethodCache(basePackages = "com.snoob")
/** 开启jetcache中@CreateCache注解，创建一个缓存实例 */
//@EnableCreateCacheAnnotation
public class BffAuthApplication {

	public static void main(String[] args) {
		SpringApplication.run(BffAuthApplication.class, args);
	}

}
